package cn.edu.bupt.ch10_1.msorder.facade;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient("ms-inventory")
public interface InventroyFacade {

    @GetMapping("/production/deduct/{product_uuid}/{num}")
    public String deduct(@PathVariable("product_uuid") String product_uuid,
                         @PathVariable("num") String num);
}
